<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<hdjs/>
</head>
<body>
	<div class="wrap">
		<div class="menu_list">
			<ul>
				<li><a href="{|U:'index'}" class="action">品牌列表</a></li>
				<li><a href="{|U:'add'}">品牌添加</a></li>
				<li><a href="{|U:'upCache'}">更新缓存</a></li>
			</ul>
		</div>
		<form action="" method="post">
			<table class="table2">
				<thead>
					<tr>
						<td class="w50">ID</td>
						<td>品牌名称</td>
						<td>品牌LOGO</td>
						<td>排序</td>
						<td class="w200">操作</td>
					</tr>
				</thead>
				<tbody>
					<list from='$brand' name='$b'>
						<tr>
							<td>{$b.brand_id}</td>
							<td>{$b.brand_name}</td>							
							<td>						
								<img src="__ROOT__/{$b.brand_logo}" class="w100 h50">
							</td>
							<td>{$b.brand_order}</td>
							<td>
								<a href="{|U:'edit',array('brand_id'=>$b['brand_id'])}">编辑</a>|
								<a href="{|U:'del',array('brand_id'=>$b['brand_id'])}">删除</a>
							</td>
						</tr>
					</list>
				</tbody>
			</table>		
		</form>
		
	</div>
</body>
</html>